<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wickr-crypto-c: wickr_fingerprint</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">wickr-crypto-c
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">wickr_fingerprint</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwickr__fingerprint.html">wickr_fingerprint</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A fingerprint representation of a combination of signature keys / identifiers.  <a href="structwickr__fingerprint.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:gafaac3f13daae0b97e91f3fb744f4c9e2"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wickr__fingerprint.html#gafaac3f13daae0b97e91f3fb744f4c9e2">wickr_fingerprint_output</a> { <b>FINGERPRINT_OUTPUT_SHORT</b>, 
<b>FINGERPRINT_OUTPUT_LONG</b>
 }</td></tr>
<tr class="separator:gafaac3f13daae0b97e91f3fb744f4c9e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga09d6f8936a6d1fbacb13c643c2e81810"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wickr__fingerprint.html#ga09d6f8936a6d1fbacb13c643c2e81810">wickr_fingerprint_type</a> { <b>WICKR_FINGERPRINT_TYPE_SHA512</b>
 }</td></tr>
<tr class="separator:ga09d6f8936a6d1fbacb13c643c2e81810"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gac4791ddf5ea675508dd6627ebf33c62e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wickr__fingerprint.html#gac4791ddf5ea675508dd6627ebf33c62e">wickr_fingerprint_gen</a> (<a class="el" href="structwickr__crypto__engine.html">wickr_crypto_engine_t</a> engine, const <a class="el" href="structwickr__ec__key.html">wickr_ec_key_t</a> *key, const <a class="el" href="structwickr__buffer.html">wickr_buffer_t</a> *identifier, <a class="el" href="group__wickr__fingerprint.html#ga09d6f8936a6d1fbacb13c643c2e81810">wickr_fingerprint_type</a> type)</td></tr>
<tr class="separator:gac4791ddf5ea675508dd6627ebf33c62e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae26d5c57687ae01678495b4e3962963d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wickr__fingerprint.html#gae26d5c57687ae01678495b4e3962963d">wickr_fingerprint_gen_bilateral</a> (<a class="el" href="structwickr__crypto__engine.html">wickr_crypto_engine_t</a> engine, const <a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a> *local, const <a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a> *remote, <a class="el" href="group__wickr__fingerprint.html#ga09d6f8936a6d1fbacb13c643c2e81810">wickr_fingerprint_type</a> type)</td></tr>
<tr class="separator:gae26d5c57687ae01678495b4e3962963d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac796adfe045ef69852ec1f452880add4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wickr__fingerprint.html#gac796adfe045ef69852ec1f452880add4">wickr_fingerprint_create</a> (<a class="el" href="group__wickr__fingerprint.html#ga09d6f8936a6d1fbacb13c643c2e81810">wickr_fingerprint_type</a> type, <a class="el" href="structwickr__buffer.html">wickr_buffer_t</a> *data)</td></tr>
<tr class="separator:gac796adfe045ef69852ec1f452880add4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac2497b535d0864b0fcc91004a979a313"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wickr__fingerprint.html#gac2497b535d0864b0fcc91004a979a313">wickr_fingerprint_copy</a> (const <a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a> *fingerprint)</td></tr>
<tr class="separator:gac2497b535d0864b0fcc91004a979a313"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7d3600525872a1d587b2774db7b8b12a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wickr__fingerprint.html#ga7d3600525872a1d587b2774db7b8b12a">wickr_fingerprint_destroy</a> (<a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a> **fingerprint)</td></tr>
<tr class="separator:ga7d3600525872a1d587b2774db7b8b12a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7d50dd168023042163c1952b53af468b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structwickr__buffer.html">wickr_buffer_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wickr__fingerprint.html#ga7d50dd168023042163c1952b53af468b">wickr_fingerprint_get_b32</a> (const <a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a> *fingerprint, <a class="el" href="group__wickr__fingerprint.html#gafaac3f13daae0b97e91f3fb744f4c9e2">wickr_fingerprint_output</a> output_mode)</td></tr>
<tr class="separator:ga7d50dd168023042163c1952b53af468b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga50608413a9168b144e06d7537a789df1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structwickr__buffer.html">wickr_buffer_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wickr__fingerprint.html#ga50608413a9168b144e06d7537a789df1">wickr_fingerprint_get_hex</a> (const <a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a> *fingerprint, <a class="el" href="group__wickr__fingerprint.html#gafaac3f13daae0b97e91f3fb744f4c9e2">wickr_fingerprint_output</a> output_mode)</td></tr>
<tr class="separator:ga50608413a9168b144e06d7537a789df1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="gafaac3f13daae0b97e91f3fb744f4c9e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafaac3f13daae0b97e91f3fb744f4c9e2">&#9670;&nbsp;</a></span>wickr_fingerprint_output</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__wickr__fingerprint.html#gafaac3f13daae0b97e91f3fb744f4c9e2">wickr_fingerprint_output</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Fingerprint output format</p>
<p>SHORT - Output a fingerprint that is 1/2 length of the full representation LONG - Output a fingerprint that is encoded to be full length </p>

</div>
</div>
<a id="ga09d6f8936a6d1fbacb13c643c2e81810"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga09d6f8936a6d1fbacb13c643c2e81810">&#9670;&nbsp;</a></span>wickr_fingerprint_type</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__wickr__fingerprint.html#ga09d6f8936a6d1fbacb13c643c2e81810">wickr_fingerprint_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Fingerprint Encoding Type</p>
<p>SHA512 - Calculated by taking a SHA512 of the inputs concatenated together </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="gac2497b535d0864b0fcc91004a979a313"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac2497b535d0864b0fcc91004a979a313">&#9670;&nbsp;</a></span>wickr_fingerprint_copy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a>* wickr_fingerprint_copy </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a> *&#160;</td>
          <td class="paramname"><em>fingerprint</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Copy a <a class="el" href="structwickr__fingerprint.html" title="A fingerprint representation of a combination of signature keys / identifiers.">wickr_fingerprint</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fingerprint</td><td>the fingerprint to copy </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a copy of 'fingerprint' that contains a deep copy of 'data' </dd></dl>

</div>
</div>
<a id="gac796adfe045ef69852ec1f452880add4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac796adfe045ef69852ec1f452880add4">&#9670;&nbsp;</a></span>wickr_fingerprint_create()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a>* wickr_fingerprint_create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__wickr__fingerprint.html#ga09d6f8936a6d1fbacb13c643c2e81810">wickr_fingerprint_type</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structwickr__buffer.html">wickr_buffer_t</a> *&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create a new <a class="el" href="structwickr__fingerprint.html" title="A fingerprint representation of a combination of signature keys / identifiers.">wickr_fingerprint</a> struct</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>see '<a class="el" href="structwickr__fingerprint.html" title="A fingerprint representation of a combination of signature keys / identifiers.">wickr_fingerprint</a>' property documentation </td></tr>
    <tr><td class="paramname">data</td><td>see '<a class="el" href="structwickr__fingerprint.html" title="A fingerprint representation of a combination of signature keys / identifiers.">wickr_fingerprint</a>' property documentation </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a newly allocated fingerprint that takes ownership of the passed inputs </dd></dl>

</div>
</div>
<a id="ga7d3600525872a1d587b2774db7b8b12a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7d3600525872a1d587b2774db7b8b12a">&#9670;&nbsp;</a></span>wickr_fingerprint_destroy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wickr_fingerprint_destroy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a> **&#160;</td>
          <td class="paramname"><em>fingerprint</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destroy a <a class="el" href="structwickr__fingerprint.html" title="A fingerprint representation of a combination of signature keys / identifiers.">wickr_fingerprint</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fingerprint</td><td>the fingerprint to destroy </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gac4791ddf5ea675508dd6627ebf33c62e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac4791ddf5ea675508dd6627ebf33c62e">&#9670;&nbsp;</a></span>wickr_fingerprint_gen()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a>* wickr_fingerprint_gen </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structwickr__crypto__engine.html">wickr_crypto_engine_t</a>&#160;</td>
          <td class="paramname"><em>engine</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structwickr__ec__key.html">wickr_ec_key_t</a> *&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structwickr__buffer.html">wickr_buffer_t</a> *&#160;</td>
          <td class="paramname"><em>identifier</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__wickr__fingerprint.html#ga09d6f8936a6d1fbacb13c643c2e81810">wickr_fingerprint_type</a>&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Generate a fingerprint based on a signing key / fixed user identifier</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">engine</td><td>the crypto engine to use for underlying hash operations </td></tr>
    <tr><td class="paramname">key</td><td>the key to include in the resulting fingerprint </td></tr>
    <tr><td class="paramname">identifier</td><td>a fixed user identifier to use in the resulting fingerprint </td></tr>
    <tr><td class="paramname">type</td><td>the type of fingerprint algorithm to use when processing key/identifier </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A unique fingerprint representing the combination of key/identifier </dd></dl>

</div>
</div>
<a id="gae26d5c57687ae01678495b4e3962963d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae26d5c57687ae01678495b4e3962963d">&#9670;&nbsp;</a></span>wickr_fingerprint_gen_bilateral()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a>* wickr_fingerprint_gen_bilateral </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structwickr__crypto__engine.html">wickr_crypto_engine_t</a>&#160;</td>
          <td class="paramname"><em>engine</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a> *&#160;</td>
          <td class="paramname"><em>local</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a> *&#160;</td>
          <td class="paramname"><em>remote</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__wickr__fingerprint.html#ga09d6f8936a6d1fbacb13c643c2e81810">wickr_fingerprint_type</a>&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Generate a bilateral fingerprint by combining two existing fingerprints made with 'wickr_fingerprint_gen'. Fingerprints created by this function are identical if local/remote input values are swapped, as they are sorted internally before computation begins</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">engine</td><td>the crypto engine to use for underlying hash operations </td></tr>
    <tr><td class="paramname">local</td><td>the first existing fingerprint to include in the bilateral fingerprint </td></tr>
    <tr><td class="paramname">remote</td><td>the second existing fingerprint to include in the bilateral fingerprint </td></tr>
    <tr><td class="paramname">type</td><td>the type of fingerprint algorithm to use when processing local/remote </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A unique fingerprint representing the combination of local/remote </dd></dl>

</div>
</div>
<a id="ga7d50dd168023042163c1952b53af468b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7d50dd168023042163c1952b53af468b">&#9670;&nbsp;</a></span>wickr_fingerprint_get_b32()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structwickr__buffer.html">wickr_buffer_t</a>* wickr_fingerprint_get_b32 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a> *&#160;</td>
          <td class="paramname"><em>fingerprint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__wickr__fingerprint.html#gafaac3f13daae0b97e91f3fb744f4c9e2">wickr_fingerprint_output</a>&#160;</td>
          <td class="paramname"><em>output_mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get a base32 representation of a fingerprint</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fingerprint</td><td>the fingerprint to get the base32 representation of </td></tr>
    <tr><td class="paramname">output_mode</td><td>the output mode of the base32 representation (short/long) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A string buffer containing a base32 representation of 'fingerprint' that is null terminatied </dd></dl>

</div>
</div>
<a id="ga50608413a9168b144e06d7537a789df1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga50608413a9168b144e06d7537a789df1">&#9670;&nbsp;</a></span>wickr_fingerprint_get_hex()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structwickr__buffer.html">wickr_buffer_t</a>* wickr_fingerprint_get_hex </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structwickr__fingerprint.html">wickr_fingerprint_t</a> *&#160;</td>
          <td class="paramname"><em>fingerprint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__wickr__fingerprint.html#gafaac3f13daae0b97e91f3fb744f4c9e2">wickr_fingerprint_output</a>&#160;</td>
          <td class="paramname"><em>output_mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get a hex representation of a fingerprint</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fingerprint</td><td>the fingerprint to get the hex representation of </td></tr>
    <tr><td class="paramname">output_mode</td><td>the output mode of the base32 representation (short/long) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A string buffer containing a hex representation of 'fingerprint' that is null terminatied </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
